package com.wzx.data.entity;
import com.wzx.basics.baseClass.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 学生作业 实体类
 * @author wzx
 * @since 2023/03/20
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "a_student_work")
@TableName("a_student_work")
@ApiModel(value = "学生作业")
public class StudentWork extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 作业id
     */
    private String workId;

    /**
     * 题目
     */
    private String title;

    /**
     * 作业路径
     */
    private String filePath;

    /**
     * 状态(0: 未查阅 1:已查阅)
     */
    private Integer status;

    /**
     * 成绩
     */
    private Integer score;

    /**
     * 教师评价
     */
    private String appraise;

    /**
     * 备注
     */
    private String remark;


}